#ifndef DEVICELISTER_CPP_INCLUDED
#define DEVICELISTER_CPP_INCLUDED

#include "DeviceLister.hpp"
#include <stdlib.h>
#include <iostream>
#include "portaudio.h"

DeviceLister::DeviceLister() {
    //info = (BASS_DEVICEINFO**) malloc(MAX_DEVICE_SEARCH*sizeof(BASS_DEVICEINFO));
    /*Pa_Initialize();
    deviceCount=Pa_GetDeviceCount();
    std::cout << "Pa_CountDevices returned " << deviceCount << std::endl;
    const PaDeviceInfo *deviceInfo;
    for (int i=0; i<deviceCount; i++) {
        deviceInfo = Pa_GetDeviceInfo( i );
        std::cout << "\t" << deviceInfo->name << "(I: " << deviceInfo->maxInputChannels << " / O: " << deviceInfo->maxOutputChannels << ')' << std::endl;
        //if(BASS_GetDeviceInfo(i, info[i])==FALSE) return;
        //std::cout<<info[i]->name<<std::endl;
    }*/
}
DeviceLister::~DeviceLister() {
    //Pa_Terminate();
}

#endif // DEVICELISTER_CPP_INCLUDED
